package com.scott.spring.ch04.service;

import org.springframework.stereotype.Component;

/**
 * @author 黄后林
 * @version 1.0
 * @date 2021-12-14 13:46:47
 */
public class RoleService {

    public RoleService() {
        System.out.println("--------执行ch04.RoleService的构造方法--------");
    }

    public int add(int x ,int y){
        int sum = x+y;
        return sum;
    }
}
